﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace KeyCore.Loans.Client.Web.Models.LoansClient
{
    [Serializable]
    public class LoansClientBasicDataModel :ILoansClientWizardStep
    {
        private const int _stepIndex = 1;

        [Key,ScaffoldColumn(false)]
        public Guid OsobaId { get; set; }

        [Required(ErrorMessage = "Prosze podać imię")]    
        public string ImiePierwsze { get; set; }

        public string ImieDrugie { get; set; }

        [Required(ErrorMessage = "Prosze podać nazwisko")]
        public string Nazwisko { get; set; }

        [Required(ErrorMessage = "Prosze podać nazwisko rodowe")]
        public string NazwiskoRodowe { get; set; }

        public int StepIndex
        {
            get { return _stepIndex; }
        }
    }
}
